package com.cbg.es.entity;

import com.shuyuwl.core.domain.AbstractBaseDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

import javax.persistence.*;

/**
 * 全景通查分类下展示表
 *
 * @author wangjuzheng
 * @since 2019-10-16
 */
@Data
@Entity
@Table(name = "es_table_category")
@EqualsAndHashCode(callSuper = true)
public class EsTableCategory extends AbstractBaseDomain implements Serializable {

	/**
	 * 表ID
	 */
	@Column(name = "table_id")
	private Long tableId;

	/**
	 * 全景分类ID
	 */
	@Column(name = "category_id")
	private Long categoryId;

	/**
	 * 排序
	 */
	@Column(name = "sort")
	private Integer sort;

	/**
	 * 表显示名
	 */
	@Column(name = "table_name")
	private String tableName;

}
